setLargeIcon
@NonNull
Sets the large icon that is shown in the notification. Icons will be scaled on versions before API 27. Starting in API 27, the framework does this automatically.
@NonNull
Sets the large icon that is shown in the notification. Starting in API 27, the framework scales icons automatically. Before API 27, for safety, #reduceLargeIconSize
should be called on bitmaps before putting them in an Icon
and passing them into this function.